<?php include('page_header.php')?>
<table width="100%%" cellpadding="2" cellspacing="1" class="tableborder">
    <form name=myform method="post" action="?action=movie_from">
        <tr>
            <th colspan=4>相册管理</th>
        </tr>
        <tr>
            <td width="90" class="tablerowhighlight">相册标识</td>
            <td width="360" class="tablerowhighlight">相册名称</td>
            <td width="60" class="tablerowhighlight">点击</td>
            <td width="120" class="tablerowhighlight">管理操作</td>
        </tr>
        <?php foreach($albums as $album):?>
        <tr onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#CEEAD3'" bgColor='#F1F3F5'>
            <td height="25"><input type="checkbox" name="album_ids[]" value="<?= $album['album_id']?>"> <?= $album['album_id']?> </td>
            <td>[<a href="mlist/123.htm" target="_blank"><?= $cat_names[$album['cat_id']]?></a>] <a href="movie/49b1/e82030.htm" target="_blank"><?= $album['album_name']?></a></td>
            <td> 0 </td>
            <td><a href="?c=album&m=edit&album_id=<?= $album['album_id']?>">修改</a>&nbsp;|&nbsp;<a href="?c=album&m=delete&album_id=<?= $album['album_id']?>">删除</a></td>
        </tr>
        <?php endforeach;?>
        <!--tr>
            <td colspan="6" bgcolor="#E1E1E1" align="right"><div class="pages"><em>&nbsp;30&nbsp;</em><strong>1</strong><a href="?action=movie_manage&o=&p=&cid=&pid=&sid=&type=&ordertype=&keyword=&page=2">2</a><a href="?action=movie_manage&o=&p=&cid=&pid=&sid=&type=&ordertype=&keyword=&page=2" class="next">&rsaquo;&rsaquo;</a></div></td>
        </tr-->
        <tr>
            <td colspan="6" bgcolor="#E1E1E1"><input name='chkall' type='checkbox' onclick='checkall(this.form)' value='checkbox'>
                (全选)<font color="#FF0000">批量操作</font>
            <input type="submit" name="scsubmit" value="删除相册"></td>
        </tr>
    </form>
</table>
<?php include('page_footer.php')?>